import { defineStore } from "pinia";
import {ref} from "vue"
export const useUserMemberStore = defineStore(
  "usermember",
  () => {
	 // 定义当用户点击浏览区的使用选择对应的图片等信息
	 const chooseUserImage=ref("");
	 const chooseUsername=ref("无显示")
	 const chooseMessage=ref("")
	 const chooseGoodImage=ref("")
   return {
	   chooseGoodImage,
	   chooseMessage,
	   chooseUserImage,
	   chooseUsername
   }
  },
  {
    unistorage: true, // 开启后对 state 的数据读写都将持久化
  },
);